package com.syy.api.system.mapper;

import com.syy.common.core.domain.BaseMapperX;
import com.syy.system.domain.SysUserPost;
import org.apache.ibatis.annotations.Mapper;

import java.util.Collection;
import java.util.List;

@Mapper
public interface UserPostMapper extends BaseMapperX<SysUserPost> {
    default List<SysUserPost> selectListByPostIds(Collection<Long> postIds) {
        return selectList(SysUserPost::getPostId, postIds);
    }
}
